*******************************************************************************
*******************************************************************************
* This do-file replicates all figures and tables in:
*
*   "Language Proficiency and Hiring of Immigrants:
*    Evidence from a New Field Experimental Approach"
*    Magnus Carlsson, Stefan Eriksson, and Dan-Olof Rooth.
*
* INSTRUCTIONS
* To run the replication package, please complete the following steps after
* downloading all do-files and data files:
*
* 1. Set the working directory (below) to the local folder containing all
*    downloaded replication do-files.
*
* 2. Place all required data files in the subfolder:
*       "Data"
*
* 3. Ensure that a subfolder named:
*       "Stata output"
*    exists in the same directory. This folder will store log files and other
*    generated output.
*
* Once these steps are completed, this MAIN do-file will sequentially execute
* all replication scripts and reproduce every figure and table in the paper
* and its online appendix. To replicate a specific figure or table,
* open the specific do-files 1-6 below and see the comments in each do-file
*
*******************************************************************************
*******************************************************************************


* Set path here
cd "PATH TO LOCAL FOLDER"

log using "Stata output/Language_Proficiency_Immigrants_JHR", replace

do "1 Field experiment Main figures and tables"
do "2 Field experiment Online Appendix figures and tables"
do "3 Employer surveys Main figures and tables"
do "4 Employer surveys Online Appendix figures and tables"
do "5 Historical job ads Main figures and tables"
do "6 Historical job ads Online Appendix figures and tables"

log close
